Push API and Webhooks

Subscriber API

api for our integration partners who want to push subscribers into jobylon in jobylon, every subscriber is represented by an email and an entity that can be of type company or group workflow subscriber api is an extension of the push api and webhooks docid io2 sjeujv6vgtrtgyoz to push a subscriber, the partner must register with jobylon to get the credentials to use the push api create or update post /subscribe/ payload described in subscriber api docid\ bqyn quvpu9uwugphl65g query string parameters none response described in subscriber api docid\ bqyn quvpu9uwugphl65g response status status description 200 an existing subscriber was update 200 subscriber created a subscriber is identified by the combination of its of email , entity and entity id example export host='https //staging jobylon com' export api version='p1' export app id='0123456789123456' export app key='abc123xyz' \# request curl i \\ x post "$host/$api version/subscribe/" \\ h "x app id $app id" \\ h "x app key $app key" \\ h "content type application/json" \\ d '{ 	 "first name" "bruce", 	 "last name" "wayne", 	 "email" "bruce\@waynecorp com", 	 "filters" { 	 "categories" \[578, 23], 	 "companies" \[45, 87, 96, 97], 	 "departments" \[13, 524, 6309], 	 "functions" \[882, 4044], 	 "locations" \["gotham, gothenburg"], 	 "location area 1" \["stockholm county", "north holland"], 	 "layers 3" \[12, 13, 18], 	 "layers 7" \[3439] 	 }, 	 "internal" false, 	 "entity" "group", 	 "entity id" 139 }' \# response status code 201 created content type application/json { 	"first name" "bruce", 	"last name" "wayne", 	"email" "bruce\@waynecorp com", 	"filters" { 	 "categories" \[ 	 578, 	 23 	 ], 	 "companies" \[ 	 45, 	 87, 	 96, 	 97 	 ], 	 "departments" \[ 	 13, 	 524, 	 6309 	 ], 	 "functions" \[ 	 882, 	 4044 	 ], 	 "locations" \[ 	 "gotham", 	 "gothenburg" 	 ], 	 "location area 1" \[ 	 "stockholm county", 	 "north holland" 	 ], 	 "layers 3" \[ 	 12, 	 13, 	 18 	 ], 	 "layers 7" \[ 	 3439 	 ] 	}, 	"internal" false, 	"entity" "group", 	"entity id" 139 } request payload subscriber name type required description first name string yes subscriber first name last name string yes subscriber last name email string yes subscriber email filters object yes subscriber api docid\ bqyn quvpu9uwugphl65g that notify the subscriber internal boolean no subscriber is a member of the entity default value is false entity string yes entity type company or group entity id integer yes id of the entity filters name type required description categories list no ids of the company categories to subscribe companies list no ids of the companies to subscribe departments list no ids of the company departments to subscribe functions list no ids of the job functions to subscribe locations list no names of the job's cities location area 1 list no names of the job's administrative level 1 location layers {x} list no ids of the job layers replace {x} with the dimension of the layer the available options for all filters, can be found from the feed api metadata see feed api docid\ ehkgl52pxl6uctzlaek6g for details