Skip to content

Find a place for a search

GET
/api/v1/outreach/search/locations
curl --request GET \
--url 'https://digize.com/api/v1/outreach/search/locations?accountId=example&keywords=example' \
--header 'x-api-key: <x-api-key>'

LinkedIn’s places matching what’s typed, with the ids a search’s location filter takes. One read of the account’s 100 a day.

Needs the outreach:read permission.

accountId
required

The LinkedIn account that reads (id in unipile.accounts.list): one you may send from.

string
>= 1 characters <= 64 characters

The LinkedIn account that reads (id in unipile.accounts.list): one you may send from.

keywords
required
string
>= 2 characters <= 100 characters

Done

Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
title
required
string

Example generated

{
"data": [
{
"id": "example",
"title": "example"
}
]
}

What was sent isn’t valid (invalid).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

No key, or one that’s unknown, off or expired.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

The key doesn’t have the permission this needs.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Nothing has that id (not_found).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Over the rate limit; see retry-after.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}